package com.aifund.app.service.impl;

import com.aifund.app.service.ChargeService;
import com.aifund.common.dao.ChargeDao;
import com.aifund.common.entity.Charge;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service

public class ChargeServiceImpl implements ChargeService
{

    @Autowired
    ChargeDao chargeDao;
    @Override
    @Transactional(rollbackFor = Exception.class)
    public void save(Charge charge) {
        chargeDao.save(charge);
    }
}
